PATH  Mac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Icon Services and Utilities
>
Obtaining and Using Icons With Icon Services

   

UnregisterIconRef

Removes the specified icon data from the icon registry.

pascal OSErr UnregisterIconRef (
                     OSType creator,
                     OSType iconType);

creator
A value of type OSType specifying the creator code of the icon data to be unregistered.

iconType
A value of type OSType specifying the type code of the icon data to be unregistered.

function result
A result code. See Icon Services Result Codes for a description of possible return values.
DISCUSSION
The specified icon data is not unregistered until all its users have called the function ReleaseIconRef.

Note

You should not unregister an icon that you have not registered.


© 1999 Apple Computer, Inc. – (Last Updated 03 Dec 99)